package org.jeecg.modules.system.upgrade.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;

@Data
public class InsertEditionDto {

    @ApiModelProperty(value = "应用ID(appId)")
    private String appId;

    @ApiModelProperty(value = "版本id")
    private String vesId;

    @ApiModelProperty(value = "文件id")
    private String paId;

    @ApiModelProperty(value = "版本号")
    private String version;

    @ApiModelProperty(value = "文件名")
    private String fileName;

    @ApiModelProperty(value = "文件大小")
    private Integer fileSize;

    @ApiModelProperty(value = "文件类型")
    private String fileType;

    @ApiModelProperty(value = "文件内容")
    private byte[] content;

    @ApiModelProperty(value = "下载地址URL")
    private String downloadUrl;

    @Excel(name = "是否强制升级(0否1是)", width = 15 ,dicCode = "yn")
    @ApiModelProperty(value = "是否强制升级(0否1是)")
    @Dict(dicCode = "yn")
    private Integer isForce;

    @ApiModelProperty(value = "备注")
    private String memo;

    /**版本校验值*/
    @ApiModelProperty(value = "版本校验值")
    private java.lang.String checkCode;
}
